.class Lcom/netease/newsreader/activity/DetailPage$1$1;
.super Ljava/lang/Thread;
.source "DetailPage.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/DetailPage$1;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/netease/newsreader/activity/DetailPage$1;

.field private final synthetic val$cid:Ljava/lang/String;

.field private final synthetic val$did:Ljava/lang/String;

.field private final synthetic val$t:Z


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/DetailPage$1;ZLjava/lang/String;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->this$1:Lcom/netease/newsreader/activity/DetailPage$1;

    iput-boolean p2, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$t:Z

    iput-object p3, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$cid:Ljava/lang/String;

    iput-object p4, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$did:Ljava/lang/String;

    .line 1103
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 6

    .prologue
    .line 1105
    new-instance v1, Lcom/netease/newsreader/bean/DetailPageBean;

    invoke-direct {v1}, Lcom/netease/newsreader/bean/DetailPageBean;-><init>()V

    .line 1106
    .local v1, bean:Lcom/netease/newsreader/bean/DetailPageBean;
    iget-boolean v3, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$t:Z

    if-eqz v3, :cond_1

    const-string v3, "attitude"

    iget-object v4, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$cid:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 1107
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$did:Ljava/lang/String;

    if-eqz v3, :cond_0

    const-string v3, ""

    iget-object v4, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$did:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    .line 1108
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$did:Ljava/lang/String;

    const-string v4, "head"

    iget-object v5, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->this$1:Lcom/netease/newsreader/activity/DetailPage$1;

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$1;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v5

    invoke-static {v3, v4, v5}, Lcom/netease/newsreader/rss/GetContent;->getArticleContents(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/util/HashMap;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/netease/newsreader/bean/DetailPageBean;->setData(Ljava/util/HashMap;)V

    .line 1113
    :cond_0
    :goto_0
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 1114
    .local v0, b:Landroid/os/Bundle;
    const-string v3, "contents"

    invoke-virtual {v0, v3, v1}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    .line 1115
    new-instance v2, Landroid/os/Message;

    invoke-direct {v2}, Landroid/os/Message;-><init>()V

    .line 1116
    .local v2, msg:Landroid/os/Message;
    invoke-virtual {v2, v0}, Landroid/os/Message;->setData(Landroid/os/Bundle;)V

    .line 1117
    const/4 v3, 0x1

    iput v3, v2, Landroid/os/Message;->what:I

    .line 1118
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$did:Ljava/lang/String;

    iput-object v3, v2, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 1119
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->this$1:Lcom/netease/newsreader/activity/DetailPage$1;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPage$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$1;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPage;->access$17(Lcom/netease/newsreader/activity/DetailPage;)Landroid/os/Handler;

    move-result-object v3

    invoke-virtual {v3, v2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 1120
    return-void

    .line 1109
    .end local v0           #b:Landroid/os/Bundle;
    .end local v2           #msg:Landroid/os/Message;
    :cond_1
    iget-boolean v3, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$t:Z

    if-nez v3, :cond_0

    .line 1110
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$did:Ljava/lang/String;

    if-eqz v3, :cond_0

    const-string v3, ""

    iget-object v4, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$did:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    .line 1111
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->val$did:Ljava/lang/String;

    const-string v4, "head"

    iget-object v5, p0, Lcom/netease/newsreader/activity/DetailPage$1$1;->this$1:Lcom/netease/newsreader/activity/DetailPage$1;

    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage$1;->access$0(Lcom/netease/newsreader/activity/DetailPage$1;)Lcom/netease/newsreader/activity/DetailPage;

    move-result-object v5

    invoke-static {v3, v4, v5}, Lcom/netease/newsreader/rss/GetColumnsInfo;->getArticleContents(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/util/HashMap;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/netease/newsreader/bean/DetailPageBean;->setData(Ljava/util/HashMap;)V

    goto :goto_0
.end method
